package com.chendx.model.goods.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/****
 * @Author:admin
 * @Description:Category构建
 * @Date 2019/6/14 19:13
 *****/
@Data
@TableName("tb_category")
public class Category implements Serializable{

    @TableId(value = "id", type = IdType.AUTO)
	private Integer id;//分类ID

    @TableField("name")
	private String name;//分类名称

    @TableField("goods_num")
	private Integer goodsNum;//商品数量

    @TableField("is_show")
	private String isShow;//是否显示

    @TableField("is_menu")
	private String isMenu;//是否导航

    @TableField("seq")
	private Integer seq;//排序

    @TableField("parent_id")
	private Integer parentId;//上级ID

    @TableField("template_id")
	private Integer templateId;//模板ID

    @TableField("pic")
    private String pic;

    @TableField("level")
    private Integer level;
}
